Skip to content

test: real-deployment coverage for inner instruction events#4657

Draft
SGDlab67 wants to merge 1 commit into
otter-sec:masterfrom
SGDlab67:test/inner-instruction-events-4656
Draft

test: real-deployment coverage for inner instruction events#4657
SGDlab67 wants to merge 1 commit into
otter-sec:masterfrom
SGDlab67:test/inner-instruction-events-4656

Conversation

@SGDlab67

@SGDlab67 SGDlab67 commented Jun 11, 2026

Copy link
Copy Markdown

Summary

Closes #4656. Tests the #4451 fix against a live validator instead of synthetic logs.

  • Add events-caller program (CPI into events, event at invoke depth 2)
  • TS: addEventListener + EventParser.parseLogs on real transaction logs
  • Rust: Program::on in client/example (blocking, multithreaded, async)
  • CI: build/deploy events_caller.so for client-example job

Test plan

  • anchor test in tests/events — 6/6 locally
  • client/example/run-test.sh — all modes green
  • CI

Add an events-caller program that CPIs into the events program so
events are emitted from inner instructions (invoke depth 2), and test
that both the TS client (addEventListener, EventParser.parseLogs) and
the Rust client (Program::on) detect them against a live validator
instead of synthetic log data. Covers the fix from otter-sec#4451. Closes otter-sec#4656.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

@SGDlab67 is attempting to deploy a commit to the OtterSec Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test event log parsing with real deployments

1 participant